<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<include file="Public/head" />
<script>
//图片切换
function cstore_pic(o)
{
	if(o=="prev" || o=="next")
	{
		var index = $(".store_picli .on").index(this);
		aval = document.getElementById("store_picid").value;
		if(o=="prev")
		{
			aval--;
			if(aval<1)
			{
				aval = 1;
			}
		}
		else if(o=="next")
		{
			aval++;
			if(aval>4)
			{
				aval = 4;
			}
		}
	}
	else
	{
		aval = o;
	}
	$(".store_picli"+aval).addClass("on").siblings().removeClass("on");
	var img = $(".store_picli"+aval).data("img");
	$("#store_picimg").attr("src",img);
	document.getElementById("store_picid").value = aval;
}
</script>
</head>

<body>
<include file="Public/top" />

<div class="goods_cate">
  <div class="return"><a href="{:U('Goods/goodsList')}"><i class="icon-fanhui"></i></a></div>店铺详情
</div><!--goods_cate-->
<div class="page_in margin">
  <div class="ginfo_top">
    <div class="ginfo_tit ginfo_pl <if condition='$goods[goods_type] eq 3'>tm<elseif condition='$goods[goods_type] eq 4' />tb<elseif condition='$goods[goods_type] eq 5' />jd<elseif condition='$goods[goods_type] eq 6' />qt</if>">{$goods[seller_title]}</div>
    <div class="ginfo_tcon">
      <div class="ginfo_pl">
      <div class="ginfo_price">售价：<span>￥{$goods[price]}</span></div>
      
      <if condition="$goods[label]">
        <div class="goods_tabs_div">
        <php> foreach(explode(',',$goods[label]) AS $va){</php>
        <span class="goods_tabs">{$va}</span>
        <php> }</php>
        </div><!--goods_tabs_div-->
      </if>
      
      <div class="ginfo_mess">
        <div class="one">保 障 金：<span class="goods_price"> {$goods.b_price}<span>元<if condition="$goods['b_price_type'] eq 0">(退还)<else/>(不退还)</if></span></span></div>
        <div class="one">技术年费：
          <if condition="$goods[goods_type] eq 3">
            <span class="goods_price">{$goods.j_price}<span>元<if condition="$goods['j_price_type'] eq 0">(退还)<else/>(不退还)</if></span></span>
          <else/>
            <span class="goods_price">{$goods.j_price}<span>元</span></span>
          </if>
        </div>
        
        <!--淘宝店铺没有动态评分-->
        <if condition="$goods[goods_type] neq 4">
        <div class="one">动态评分：<div class="pingfeng">{$goods.dongtai_score|get_pingfen_style}</div></div>
        </if>
        <!--淘宝店铺没有动态评分-->
      </div><!--ginfo_mess-->
      </div>
      
      <div class="ginfo_buy">
        <if condition="$goods[status] eq 1">
          <a class="gm" href="{:U('add_order',array('goods_id'=>$goods[goods_id]))}">立即预定</a>
          <else/>
          <a class="gm_no" href="javascript:;">立即预定</a>
        </if>
      </div><!--ginfo_buy-->
    </div><!--ginfo_tcon-->
    
    <div class="ginfo_tcon ginfo_pl">
      <div class="ginfo_mess">
        <div class="one">商品编号：{$goods.goods_number}</div>
      </div><!--ginfo_mess-->
      
      <if condition="$goods[goods_type] eq 4 or $goods[goods_type] eq 6"><!--淘宝 或者其他店铺-->
      <div class="ginfo_mess">
        <div class="fl">所属类型：<span class="color_b"><php>if($goods[goods_type]==4){</php>淘宝店铺<php>}elseif($goods[goods_type]==6){</php>其他店铺<php>}</php></span></div>
        <div class="fl">所在地区：<span class="color_b"><php>$name=$goodsArea[$goods[area_type]];echo $name;</php></span></div>
      </div><!--ginfo_mess-->
      <div class="ginfo_mess">
        <div class="fl">所属行业：<span class="color_b"><php>$name=$goodsTrade[$goods[trade_type]];echo $name;</php></span></div>
        <div class="fl">纳税资质：<span class="color_b">{$goods[taxpayer_qualification]}</span></div>
      </div><!--ginfo_mess-->
      
      <else />
      <div class="ginfo_mess">
        <div class="fl">所属类型：<span class="color_b"><php>if($goods[goods_type]==4){</php>淘宝店铺<php>}elseif($goods[goods_type]==6){</php>其他店铺<php>}elseif($goods[goods_type]==3){ $name=$storeType_tm[$goods[store_type]];echo $name;}elseif($goods[goods_type]==5){ $name=$storeType_tm[$goods[store_type]];echo $name;}</php></span></div>
        <div class="fl">商标类型：<span class="color_b"><php>echo $brandType[$goods[brand_type]];</php></span></div>
      </div><!--ginfo_mess-->
      <div class="ginfo_mess">
        <div class="fl">所在地区：<span class="color_b"><php>$name=$goodsArea[$goods[area_type]];echo $name;</php></span></div>
        <div class="fl">所属行业：<span class="color_b"><php>echo $goodsTrade[$goods[trade_type]];</php></span></div>
      </div><!--ginfo_mess-->
      <div class="ginfo_mess">
        <div class="fl">是否带货：<span class="color_b"><if condition="$goods[cum_goods] eq 1">是<else/>否</if></span></div>
        <div class="fl">团队转让：<span class="color_b"><if condition="$goods[zrtd_status] eq 1">是<else/>否</if></span></div>
      </div><!--ginfo_mess-->
      <div class="ginfo_mess">
        <div class="fl">纳税资质：<span class="color_b">{$goods[taxpayer_qualification]}</span></div>
        <div class="fl">货源渠道：<span class="color_b"><if condition="$goods[hy_status] eq 1">提供<else/>不提供</if></span></div>
      </div><!--ginfo_mess-->
      <div class="ginfo_mess">
        <div class="fl">运营经验：<span class="color_b"><if condition="$goods[jyjy_status] eq 1">传授<else/>不传授</if></span></div>
      </div><!--ginfo_mess-->
      </if>
    </div><!--ginfo_tcon-->
    
    <div class="ginfo_tcon">
      <foreach name="sales_list" item="vvv" key="kkk">
        <if condition="$kkk eq 0">
          <div class="ginfo_kefu">
            <div class="kefu_pic"><img src="{$vvv.head_img}" /></div>
              <div class="kefu_word">
                <div class="h1"><span class="metal matal_lv1"><i class="icon-jinpai"></i></span> {$vvv.level|get_level_name} &nbsp; {$vvv.name}</div>
                <div class="h2">TEL：{$vvv.mobile} &nbsp; &nbsp; <span class="mobtype_wechat"><a href="http://wpa.qq.com/msgrd?v=3&uin={$vvv.qq}&site=qq&menu=yes">QQ：{$vvv.qq}</a></span>
                <span class="mobtype_web"><a href="mqqwpa://im/chat?chat_type=wpa&uin={$vvv.qq}&version=1&src_type=web">QQ：{$vvv.qq}</a></span>
                </div>
                <div class="h3">
                    <div class="goods_ra goods_razx_on">
                      <span class="mobtype_wechat"><a href="http://wpa.qq.com/msgrd?v=3&uin={$vvv.qq}&site=qq&menu=yes"><i class="icon-zxzx"></i> 咨询顾问</a></span>
                      <span class="mobtype_web"><a href="mqqwpa://im/chat?chat_type=wpa&uin={$vvv.qq}&version=1&src_type=web"><i class="icon-zxzx"></i> 咨询顾问</a></span>
                      <!--<a href="tel:{$vvv.mobile}"><i class="icon-zxzx"></i> 咨询顾问</a>-->
                      <script>
                        if(mobtype=="wechat" || mobtype=="miniprogram")
                        {
                          $(".mobtype_web").hide();
                        }
                        else
                        {
                          $(".mobtype_wechat").hide();
                        }
                      </script>
                    </div>
              </div>
            </div>
            <div class="clear"></div>
          </div><!--ginfo_kefu-->
        </if>
      </foreach>
    </div><!--ginfo_tcon-->
  </div><!--ginfo_top-->
  
  <div class="ginfo_detail">
    <div class="ginfo_dtit">店铺截图</div>
    <div class="store_picin">
      <div class="store_picli">
        <div class="pad">
          <a class="store_picli1 on" href="javascript:void(0)" onclick="cstore_pic(1)" data-img="{$goods.yijileimu_img}">授权类目</a>
          <a class="store_picli2" href="javascript:void(0)" onclick="cstore_pic(2)" data-img="{$goods.yingyee_img}">营业额</a>
          <a class="store_picli3" href="javascript:void(0)" onclick="cstore_pic(3)" data-img="{$goods.lishikoufen_img}">历史扣分</a>
          <a class="store_picli4" href="javascript:void(0)" onclick="cstore_pic(4)" data-img="{$goods.xuqiankaoke_img}">续签考核</a>
        </div>
      </div><!--store_picli-->
      <input id="store_picid" value="1" type="hidden" />
      <div class="store_piccon">
        <div class="store_picin">
          <div class="store_picb store_picleft" onclick="cstore_pic('prev')"><i class="icon-arrow-left"></i></div>
          <div class="store_pic"><img id="store_picimg" src="{$goods.yijileimu_img}" /></div>
          <span class="hide">
            <img src="{$goods.yingyee_img}" />
            <img src="{$goods.lishikoufen_img}" />
            <img src="{$goods.xuqiankaoke_img}" />
          </span>
          <div class="store_picb store_picright" onclick="cstore_pic('next')"><i class="icon-arrow-right"></i></div>
        </div>
      </div><!--store_piccon-->
    </div><!--store_picin-->
  </div><!--ginfo_detail-->
  
  <div class="ginfo_detail">
    <div class="ginfo_dtit">店铺情况</div>
    
    <if condition="$goods[goods_type] eq 4 or $goods[goods_type] eq 6"><!--淘宝或者其他店铺-->
    <div class="ginfo_mess">
      <div class="fl">店铺名称：<span class="color_b">******</span></div>
      <div class="fl">商城类型：<span class="color_b"><php>if($goods[goods_type]==4){</php>淘宝店铺<php>}elseif($goods[goods_type]==6){</php>其他店铺<php>}</php></span></div>
    </div><!--ginfo_mess-->
    <div class="ginfo_mess">
      <div class="fl">开店时长：<span class="color_b">{$goods.start_time}年</span></div>
      <div class="fl">所在地区：<span class="color_b"><php>echo $goodsArea[$goods[area_type]];</php></span></div>
    </div><!--ginfo_mess-->
    <div class="ginfo_mess">
      <div class="fl">违规记录：<span class="color_b">{$goods.weigui_log}</span></div>
    </div><!--ginfo_mess-->
    
    <else />
    <div class="ginfo_mess">
      <div class="fl">店铺名称：<span class="color_b">******</span></div>
      <div class="fl">商城类型：<span class="color_b"><php>if($goods[goods_type]==3){echo $storeType_tm[$goods[store_type]];}elseif($goods[goods_type]==5){echo $storeType_tm[$goods[store_type]];}</php></span></div>
    </div><!--ginfo_mess-->
    <div class="ginfo_mess">
      <div class="fl">开店时长：<span class="color_b">{$goods.start_time}年</span></div>
      <div class="fl">所在地区：<span class="color_b"><php>echo $goodsArea[$goods[area_type]];</php></span></div>
    </div><!--ginfo_mess-->
    <div class="ginfo_mess">
      <div class="fl">违规记录：<span class="color_b">{$goods.weigui_log}</span></div>
      <div class="fl">信用额度：<span class="color_b">{$goods.xinyong_price}</span></div>
    </div><!--ginfo_mess-->
    <div class="ginfo_mess">
      <div class="fl">使用中贷款：<span class="color_b">{$goods.dk_price}</span></div>
    </div><!--ginfo_mess-->
    <div class="ginfo_mess">
      <div class="dongtai_score">{$goods.dongtai_score|get_pingfen_style_info}</div>
    </div><!--ginfo_mess-->
    <div class="ginfo_mess">
      <div class="one">当前主营：<span class="color_b">{$goods.now_business}</span></div>
    </div><!--ginfo_mess-->
    <div class="ginfo_mess">
      <div class="one">一级类目：<span class="color_b">{$goods.epmi}</span></div>
    </div><!--ginfo_mess-->
    </if>
  </div><!--ginfo_detail-->
  
  <if condition="$goods[goods_type] neq 4"><!--淘宝店铺没有商标情况-->
  <div class="ginfo_detail">
    <div class="ginfo_dtit">商标情况</div>
    <div class="ginfo_mess">
      <div class="fl">商标名称：<span class="color_b">******</span></div>
      <div class="fl">商标持有者：<span class="color_b">******</span></div>
    </div><!--ginfo_mess-->
    <div class="ginfo_mess">
      <div class="fl">是否过户：<span class="color_b"><if condition="$goods[is_shift] eq 1">是<else/>否</if></span></div>
      <div class="fl">商标类型：<span class="color_b"><php>$name=$brandType[$goods[brand_type]];echo $name;</php><if condition="$goods[brand_info] neq ''">（第{$goods.brand_info}类）</if></span></div>
    </div><!--ginfo_mess-->
  </div><!--ginfo_detail-->
  </if>
  
  <div class="ginfo_detail">
    <div class="ginfo_dtit">公司情况</div>
    <div class="ginfo_mess">
      <div class="fl">公司名称：<span class="color_b">******</span></div>
      <div class="fl">注册日期：<span class="color_b">{$goods.company_reg_time}</span></div>
    </div><!--ginfo_mess-->
    <div class="ginfo_mess">
      <div class="fl">注册资金：<span class="color_b">{$goods.reg_money}万元</span></div>
      <div class="fl">纳税人资质：<span class="color_b">{$goods.taxpayer_qualification}</span></div>
    </div><!--ginfo_mess-->
    <div class="ginfo_mess">
      <div class="fl">经营状态：<span class="color_b"><if condition="$goods[jy_status] eq 0">正常<else/>异常</if></span></div>
      <div class="fl">税务状态：<span class="color_b"><if condition="$goods[cw_status] eq 0">正常<else/>异常</if></span></div>
    </div><!--ginfo_mess-->
    <div class="ginfo_mess">
      <div class="fl">年报状态：<span class="color_b">{$goods.annals_info}</span></div>
      <div class="fl">股东人数：<span class="color_b">{$goods.shareholder_num} 人</span></div>
    </div><!--ginfo_mess-->
  </div><!--ginfo_detail-->
  
  <div class="ginfo_detail">
    <div class="ginfo_dtit">卖家寄语</div>
    <div class="ginfo_mess"><div class="one">{$goods.seller_send_word}</div></div>
  </div><!--ginfo_detail-->
  
  <div class="ginfo_detail">
    <div class="ginfo_dtit">购买流程</div>
    <div class="ginfo_mess"><div class="store_pic"><img src="__STATIC__/images/liucheng.gif" /></div></div>
  </div><!--ginfo_detail-->
  
  <div class="ginfo_detail ginfo_detail_last">
    <div class="ginfo_dtit">同类店铺</div>
    <div class="store_ul">
      <div class="store_liulan">
        <foreach name="tj_list" item="v" key="k">
          <div class="store_liuli">
            <div class="pad">
              <a href="{:U('goodsInfo',array('id'=>$v['goods_id']))}">
                <div class="tit">{$v.seller_title}</div>
                <div class="price">￥{$v.price}<span>查看详情</span></div>
              </a>
            </div>
          </div><!--store_liuli-->
        </foreach>
        <div class="clear"></div>
      </div><!--store_liulan-->
    </div><!--store_ul-->
  </div><!--ginfo_detail-->
</div><!--page_in-->

<include file="Public/ikefu" />
<include file="Public/footer" />
</body>
</html>